package com.product.android.ui.widget;


import android.content.Context;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

/**
 * 分页加载底部加载条
 * 
 * <br>Created 2014-5-6 下午5:32:02
 * @version  
 * @author   chenqsh		
 *
 * @see
 */
public class PagingLoadFooterView extends LinearLayout {

	private PagingLoadFooterView(Context context) {
		super(context);
	}
	
	public PagingLoadFooterView(Context context, int layout) {
		this(context);
		
		View view = LayoutInflater.from(context).inflate(layout, null);
		setGravity(Gravity.CENTER_HORIZONTAL);
		addView(view, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT));
	}
}
